package pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Item entity. @author MyEclipse Persistence Tools
 */
public class Item implements java.io.Serializable {

    // Fields
    private Integer itemId;
    private String itemName;
    private String itemDescription;
    private Integer itemPrice;
    private Integer itemAmount;
    private Set exchangehistories = new HashSet(0);
    private String itemImagePath;

    public String getItemImagePath() {
        return itemImagePath;
    }

    public void setItemImagePath(String itemImagePath) {
        this.itemImagePath = itemImagePath;
    }

    // Constructors
    /** default constructor */
    public Item() {
    }

    /** minimal constructor */
    public Item(Integer itemId, String itemName, String itemDescription,
            Integer itemPrice, Integer itemAmount) {
        this.itemId = itemId;
        this.itemName = itemName;
        this.itemDescription = itemDescription;
        this.itemPrice = itemPrice;
        this.itemAmount = itemAmount;
    }

    /** full constructor */
    public Item(Integer itemId, String itemName, String itemDescription,
            Integer itemPrice, Integer itemAmount, Set exchangehistories) {
        this.itemId = itemId;
        this.itemName = itemName;
        this.itemDescription = itemDescription;
        this.itemPrice = itemPrice;
        this.itemAmount = itemAmount;
        this.exchangehistories = exchangehistories;
    }

    // Property accessors
    public Integer getItemId() {
        return this.itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public String getItemName() {
        return this.itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getItemDescription() {
        return this.itemDescription;
    }

    public void setItemDescription(String itemDescription) {
        this.itemDescription = itemDescription;
    }

    public Integer getItemPrice() {
        return this.itemPrice;
    }

    public void setItemPrice(Integer itemPrice) {
        this.itemPrice = itemPrice;
    }

    public Integer getItemAmount() {
        return this.itemAmount;
    }

    public void setItemAmount(Integer itemAmount) {
        this.itemAmount = itemAmount;
    }

    public Set getExchangehistories() {
        return this.exchangehistories;
    }

    public void setExchangehistories(Set exchangehistories) {
        this.exchangehistories = exchangehistories;
    }
}